/*same concept of the dice....except that you draw a card 
 * in the result of shuffleCommunity*/
public class CommunityCards {
	
	private int communityRandom;
    private int Result;
	
	public CommunityCards(int commRand) {
		this.setCommunityRandom(commRand);
	}
	
	public int shuffleCommunity(){
    	this.setCommunityRandom((int)(Math.random()*23 + 1));   
    	
    	this.setResult(this.getCommunityRandom()); 
    	return this.getResult();
    }

	public void setCommunityRandom(int communityRandom) {
		this.communityRandom = communityRandom;
	}

	public int getCommunityRandom() {
		return communityRandom;
	}

	public void setResult(int result) {
		Result = result;
	}

	public int getResult() {
		return Result;
	}

	
}